package com.sen.organization;


import com.sen.common.feign.annotation.EnableSenFeignClient;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author esjiang
 */
@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("com.sen.organization.mapper")
@EnableSenFeignClient
public class MemberApplication {
    public static void main(String[] args) {
        if (args.length != 0){
            System.setProperty("spring.profiles.active",args[0]) ;
        }
        SpringApplication.run(MemberApplication.class,args) ;
    }
}
